package com.fengke.portal.action;

import java.io.UnsupportedEncodingException;

public class App {
	public static void main(String[] args) {
		try {
			String mytext = java.net.URLEncoder.encode("http://fengkeworld.com/travel/weixin/index.html", "ISO-8859-1");
			System.out.println(mytext);
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		}
		
		String a = "yyyy-MM-dd";
		System.out.println(a.substring(0, "yyyy-MM".length()));
	}
}
